<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
</html>

<script>

    function Person(obj) {
        this._init(obj);
    }
    Person.prototype = {
        _init: function (obj) {
            this.name = obj.name;
            this.age = obj.age;
        },

        eat: function () {
            console.log(this.name + "吃饭了!");
        }
    };

    var p = new Person({
        name: "zmy",
        age: 24
    });

//    p.eat();

    document.title = '#000000';
    document.favicon = "https://www.baidu.com/img/baidu.svg";

    console.log(toString.call(123))
    console.log(toString.call(true))
    console.log(toString.call("123"))
    console.log(toString.call({}))
    console.log(toString.call([]))
    console.log(toString.call(null))
    console.log(toString.call(undefined))

</script>